package com.songlanyun.modules.rights.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.rights.entity.RightsChildOrder;
import com.songlanyun.modules.rights.entity.RightsOrder;

import java.util.List;
import java.util.Map;

/**
 * 销售系统的维权单的子单
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-23 13:45:42
 */
public interface RightsChildOrderService extends IBaseService<Long,RightsChildOrder> {

    PageUtils queryPage(Map<String, Object> params);
    RightsChildOrder loadChildRightsOrder(Long rightsOrderId, Long orderId, Long childOrderId, boolean tw);
    RightsChildOrder loadChildRightsOrder(Long rightsOrderId, Long rightsChildOrderId, boolean tw);

    List<RightsChildOrder> loadChildRightsOrders(Long rightsOrderId);


}

